

***Table A.4***	
*attitudes
    *panel a
        rdrobust political_problems a1 if urban14==1, c(0) vce(cluster a1)
            est store m11
        rdrobust total_problems a1 if urban14==1, c(0) vce(cluster a1)
            est store m12
        rdrobust c2a a1 if urban14==1, c(0) vce(cluster a1)
            est store m13
        esttab m11 m12 m13 using $tables/2008_attitudes.tex, ///
            se star(* 0.10 ** 0.05 *** 0.01) label replace collabels(none) booktabs width(\linewidth) ///
            title("Attitudes (The 2008 Survey)") ///
            mtitles("Political problems" "Socioeconomic problems" "Policy satisfaction") ///
            varlabels("RD_Estimate" "Sent-down cohorts") ///
            cells(b(star fmt(a2)) se(par(( )) fmt(a2))) ///
            stats(h_l N_h_l N_h_r N, fmt(1 0 0) layout(@ `""@/@""' @) ///
            labels(`"Bandwidth"' `"Effective obs. left/right"' `"Observations"')) ///
            nonotes postfoot( \bottomrule \end{tabular*} \caption*{ ///
                    {\footnotesize Note: Standard errors in parentheses are clustered at the birth-year level. All RD estimations use: local linear regressions, triangular kernels, and MSE-optimal bandwidth on both sides of the cutoff. \sym{*} \(p<0.1\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\). ///
                    }} \end{table} \label{tab: 2008attitudes} )

***Table A.5***	
*participation
    *panel a
        rdrobust vote_community a1 if urban14==1, c(0) vce(cluster a1)
            est store m21
        rdrobust party_member a1 if urban14==1, c(0) vce(cluster a1) 
            est store m22
        rdrobust ever_contactcadre a1 if urban14==1, c(0) vce(cluster a1) 
            est store m23
        esttab m21 m22 m23 using $tables/2008_participation_a.tex, ///
            se star(* 0.10 ** 0.05 *** 0.01) label replace collabels(none) booktabs width(\linewidth) ///
            title("Participation (The 2008 Survey)") ///
            mtitles("Local elections voting" "Party membership" "Contacting cadres") ///
            varlabels("RD_Estimate" "Sent-down cohorts") ///
            cells(b(star fmt(a2)) se(par(( )) fmt(a2))) ///
            stats(h_l N_h_l N_h_r N, fmt(1 0 0) layout(@ `""@/@""' @) ///
            labels(`"Bandwidth"' `"Effective obs. left/right"' `"Observations"')) ///
            nonotes postfoot( \bottomrule \end{tabular*} \caption*{ ///
                    {\footnotesize Note: Standard errors in parentheses are clustered at the birth-year level. All RD estimations use: local linear regressions, triangular kernels, and MSE-optimal bandwidth on both sides of the cutoff. \sym{*} \(p<0.1\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\). ///
                    }} \end{table} \label{tab: 2008participationa} )
    *panel b
        rdrobust ever_demonstrate a1 if urban14==1, c(0) vce(cluster a1)
            est store m24
        rdrobust ever_petition a1 if urban14==1, c(0) vce(cluster a1)
            est store m25
        rdrobust any_communitygroup a1 if urban14==1, c(0) vce(cluster a1)
            est store m26
        rdrobust ever_contactcivic a1 if urban14==1, c(0) vce(cluster a1)
            est store m27
        esttab m24 m25 m26 m27 using $tables/2008_participation_b.tex, ///
            se star(* 0.10 ** 0.05 *** 0.01) label replace collabels(none) booktabs width(\linewidth) ///
            title("Participation (The 2008 Survey)") ///
            mtitles("Demonstration" "Petition" "Community group" "Civic organization") ///
            varlabels("RD_Estimate" "Sent-down cohorts") ///
            cells(b(star fmt(a2)) se(par(( )) fmt(a2))) ///
            stats(h_l N_h_l N_h_r N, fmt(1 0 0) layout(@ `""@/@""' @) ///
            labels(`"Bandwidth"' `"Effective obs. left/right"' `"Observations"')) ///
            nonotes postfoot( \bottomrule \end{tabular*} \caption*{ ///
                    {\footnotesize Note: Standard errors in parentheses are clustered at the birth-year level. All RD estimations use: local linear regressions, triangular kernels, and MSE-optimal bandwidth on both sides of the cutoff. \sym{*} \(p<0.1\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\). ///
                    }} \end{table} \label{tab: 2008participationb} )

***Table B.1***	
*Trust
    rdrobust trust_unknown a1 if urban14==1, c(0) vce(cluster a1)
        est store m61
    rdrobust trust_known a1 if urban14==1, c(0) vce(cluster a1) 
        est store m62
    esttab m61 m62 using $tables/2008_trust.tex, ///
        se star(* 0.10 ** 0.05 *** 0.01) label replace collabels(none) booktabs width(\linewidth) ///
        title("Trust (The 2008 Survey)") ///
        mtitles("Unkown" "Known") ///
        varlabels("RD_Estimate" "Sent-down cohorts") ///
        cells(b(star fmt(a2)) se(par(( )) fmt(a2))) ///
        stats(h_l N_h_l N_h_r N, fmt(1 0 0) layout(@ `""@/@""' @) ///
        labels(`"Bandwidth"' `"Effective obs. left/right"' `"Observations"')) ///
        nonotes postfoot( \bottomrule \end{tabular*} \caption*{ ///
                {\footnotesize Note: The list of unknown people consists of city dwellers, businessmen, non-locals, farmers, strangers, and foreigners; ///
                The list of known people consists of family, relatives, neighbors, co-workers, supervisors, classmates, locals, and friends. ///
                Standard errors in parentheses are clustered at the birth-year level. All RD estimations use: local linear regressions, triangular kernels, and MSE-optimal bandwidth on both sides of the cutoff. \sym{*} \(p<0.1\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\). ///
                }} \end{table} \label{tab: 2008trust} )

***Table B.4***	
*Local-National gap
    *panel a
        rdrobust  b9i a1 if urban14==1, c(0) vce(cluster a1)
            est store m31
        rdrobust  b9h a1 if urban14==1, c(0) vce(cluster a1)
            est store m32
        rdrobust  b9g a1 if urban14==1, c(0) vce(cluster a1)
            est store m33
        esttab m31 m32 m33 using $tables/2008_gap_a.tex, ///
            se star(* 0.10 ** 0.05 *** 0.01) label replace collabels(none) booktabs width(\linewidth) ///
            title("The Local-National Gap: Trust (The 2008 Survey)") ///
            mtitles("National officials" "Provincial officials" "Local officials") ///
            varlabels("RD_Estimate" "Sent-down cohorts") ///
            cells(b(star fmt(a2)) se(par(( )) fmt(a2))) ///
            stats(h_l N_h_l N_h_r N, fmt(1 0 0) layout(@ `""@/@""' @) ///
            labels(`"Bandwidth"' `"Effective obs. left/right"' `"Observations"')) ///
            nonotes postfoot( \bottomrule \end{tabular*} \caption*{ ///
                    {\footnotesize Note: Standard errors in parentheses are clustered at the birth-year level. All RD estimations use: local linear regressions, triangular kernels, and MSE-optimal bandwidth on both sides of the cutoff. \sym{*} \(p<0.1\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\). ///
                    }} \end{table} \label{tab: 2008gapa} )
    *panel b
        rdrobust c9a a1 if urban14==1, c(0) vce(cluster a1)
            est store m34
        rdrobust c9b a1 if urban14==1, c(0) vce(cluster a1)
            est store m35
        rdrobust c9c a1 if urban14==1, c(0) vce(cluster a1)
            est store m36
        esttab m34 m35 m36 using $tables/2008_gap_b.tex, ///
            se star(* 0.10 ** 0.05 *** 0.01) label replace collabels(none) booktabs width(\linewidth) ///
            title("The Local-National Gap: Satisfaction (The 2008 Survey)") ///
            mtitles("National gov." "County gov." "Neighborhood gov.") ///
            varlabels("RD_Estimate" "Sent-down cohorts") ///
            cells(b(star fmt(a2)) se(par(( )) fmt(a2))) ///
            stats(h_l N_h_l N_h_r N, fmt(1 0 0) layout(@ `""@/@""' @) ///
            labels(`"Bandwidth"' `"Effective obs. left/right"' `"Observations"')) ///
            nonotes postfoot( \bottomrule \end{tabular*} \caption*{ ///
                    {\footnotesize Note: Standard errors in parentheses are clustered at the birth-year level. All RD estimations use: local linear regressions, triangular kernels, and MSE-optimal bandwidth on both sides of the cutoff. \sym{*} \(p<0.1\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\). ///
                    }} \end{table} \label{tab: 2008gapb} )

***Table B.6***	
*national identity
    rdrobust b11a a1 if urban14==1, c(0) vce(cluster a1) 
        est store m41
    rdrobust b11b a1 if urban14==1, c(0) vce(cluster a1)
        est store m42
    rdrobust b13 a1 if urban14==1, c(0) vce(cluster a1)
        est store m43
    rdrobust b12d a1 if urban14==1, c(0) vce(cluster a1)
        est store m45
    rdrobust e14d a1 if urban14==1, c(0) vce(cluster a1)
        est store m44
    esttab m43 m45 m44 using $tables/2008_identity.tex, ///
        se star(* 0.10 ** 0.05 *** 0.01) label replace collabels(none) booktabs width(\linewidth) ///
        title("Identity (The 2008 Survey)") ///
        mtitles("National pride" "Better country" "Strong gov.") ///
        varlabels("RD_Estimate" "Sent-down cohorts") ///
        cells(b(star fmt(a2)) se(par(( )) fmt(a2))) ///
        stats(h_l N_h_l N_h_r N, fmt(1 0 0) layout(@ `""@/@""' @) ///
        labels(`"Bandwidth"' `"Effective obs. left/right"' `"Observations"')) ///
        nonotes postfoot( \bottomrule \end{tabular*} \caption*{ ///
                {\footnotesize Note: Standard errors in parentheses are clustered at the birth-year level. All RD estimations use: local linear regressions, triangular kernels, and MSE-optimal bandwidth on both sides of the cutoff. \sym{*} \(p<0.1\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\). ///
                }} \end{table} \label{tab: 2008identity} )
            /*mtitles("Nation vs. prov." "Prov. vs. cities" "National pride" "Strong gov.") /// */


***Table B.7***	
*natinonal pride, trust, and attitudes
    reg b9i b13 i.birthyear i.prov if urban14==1, r cluster(birthyear)
        *estadd local controls "Yes", replace
        estadd local fixedbirth "Yes", replace
        estadd local fixedprov "Yes", replace
        est store pa01
    reg political_problems b13 i.birthyear i.prov if urban14==1, r cluster(birthyear)
        *estadd local controls "Yes", replace
        estadd local fixedbirth "Yes", replace
        estadd local fixedprov "Yes", replace
        est store pa02
    reg total_problems b13 i.birthyear i.prov if urban14==1, r cluster(birthyear)
        *estadd local controls "Yes", replace
        estadd local fixedbirth "Yes", replace
        estadd local fixedprov "Yes", replace
        est store pa03
    reg c2a b13 i.birthyear i.prov if urban14==1, r cluster(birthyear)
        *estadd local controls "Yes", replace
        estadd local fixedbirth "Yes", replace
        estadd local fixedprov "Yes", replace
        est store pa04
    esttab pa02 pa03 pa04 using $tables/2008_national_pride_attitudes.tex, ///
        style(tex) label replace se star(* 0.10 ** 0.05 *** 0.01) collabels(none) booktabs width(\linewidth) ///
        stats(fixedbirth fixedprov r2 N, fmt(0 0 2 0) ///
        label("Birth-year FE" "Province FE" "R-squared" "Observations")) ///  
        drop( *.birthyear *.prov _cons) ///
        title("National Pride and Attitudes (The 2008 Survey)") ///
        mtitles("Political problems" "Socioeconomic problems" "Policy satisfaction") ///
        varlabels(b13 "National pride") ///
        cells(b(star fmt(a2)) se(par(( )) fmt(a2))) ///
        nonotes postfoot( \bottomrule \end{tabular*} \caption*{ ///
            {\footnotesize Note: Standard error in parenthesis is clustered at the birth-year level. \sym{*} \(p<0.1\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\). ///
            }} \end{table} \label{tab: 2008nationalprideattitudes} )

***Table B.8***	
*Trust unknown and attitudes
    reg political_problems trust_unknown i.birthyear i.prov if urban14==1, r cluster(birthyear)
        *estadd local controls "Yes", replace
        estadd local fixedbirth "Yes", replace
        estadd local fixedprov "Yes", replace
        est store ta01
    reg total_problems trust_unknown i.birthyear i.prov if urban14==1, r cluster(birthyear)
        *estadd local controls "Yes", replace
        estadd local fixedbirth "Yes", replace
        estadd local fixedprov "Yes", replace
        est store ta02
    reg c2a trust_unknown i.birthyear i.prov if urban14==1, r cluster(birthyear)
        *estadd local controls "Yes", replace
        estadd local fixedbirth "Yes", replace
        estadd local fixedprov "Yes", replace
        est store ta03
    esttab ta01 ta02 ta03 using $tables/2008_trust_attitudes.tex, ///
        style(tex) label replace se star(* 0.10 ** 0.05 *** 0.01) collabels(none) booktabs width(\linewidth) ///
        stats(fixedbirth fixedprov r2 N, fmt(0 0 2 0) ///
        label("Birth-year FE" "Province FE" "R-squared" "Observations")) ///  
        drop( *.birthyear *.prov _cons) ///
        title("Trust in Unknown People and Attitudes (The 2008 Survey)") ///
        mtitles("Political problems" "Socioeconomic problems" "Policy satisfaction") ///
        varlabels(trust_unknown "Trust unknown") ///
        cells(b(star fmt(a2)) se(par(( )) fmt(a2))) ///
        nonotes postfoot( \bottomrule \end{tabular*} \caption*{ ///
            {\footnotesize Note: Standard error in parenthesis is clustered at the birth-year level. \sym{*} \(p<0.1\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\). ///
            }} \end{table} \label{tab: 2008trustattitudes} )
			
***Table A.2***	
*summary stats 
    quietly estpost summarize birthyear gender minority father_literate political_problems total_problems c2a vote_community party_member ever_contactcadre ///
        ever_demonstrate ever_petition any_communitygroup ever_contactcivic ///
        b9i b9h b9g c9a c9b c9c  b11a b11b b13 e14d ///
        if urban14==1
    esttab using $tables/2008_summary_stats.tex, ///
        label replace booktabs width(\linewidth) ///
        title("Summary Statistics (The 2008 Survey)") ///
        collabels("N" "Mean" "St. dev." "Min" "Max") ///
        cells("count mean(fmt(a2)) sd(fmt(a2)) min(fmt(a0)) max(fmt(a0))") nomtitle nonumber noobs ///
        varlabels(birthyear "Birth year" gender "Female" minority "Ethnic minority" father_literate "Father's literacy" ///
        political_problems "Political problems" total_problems "Socioeconomic problems" c2a "Policy satisfaction" ///
        vote_community "Local elections voting" party_member "Party membership" ever_contactcadre "Contacting cadres" ///
        ever_demonstrate "Demonstration" ever_petition "Petition" any_communitygroup "Community group" ever_contactcivic "Civic organization" ///
        b9i "Trust: National officials" b9h "Trust: Provincial officials" b9g "Trust: Local officials" ///
        c9a "Satisfaction: National gov." c9b "Satisfaction: County gov." c9c "Satisfaction: Neighborhood gov." ///
        b11a "Identity: Nation vs. provinces" b11b "Identity: Provinces vs. cities" b13 "National pride" e14d "Strong gov.") ///
        addnotes("\label{tab: 2008summary}")

		


***Figure F.1***	
    *density RD checks
        rddensity birthyear if urban14==1, c(1960.5) p(2) q(2) plot plot_range(1950 1971) hist_range(1950 1971) hist_n(11 11) ///
            plotl_estype(none) plotr_estype(none) cirl_opt(color(gs13%30)) histl_opt(color(gs13%50)) cirr_opt(color(gs7%30)) histr_opt(color(gs7%50)) ///
            graph_opt(title("Density of the Running Variable") xtitle(Birth year) xlabel(1950 (2) 1971) graphregion(color(white)) leg(off)) 
        graph export $figures/manuplation_test_2008.pdf, replace

***Table F.1***	
    *Placebo outcomes
        rdrobust h7 a1 if urban14==1, c(0) vce(cluster a1)
            est store pbo2
        rdrobust g3g a1 if urban14==1, c(0) vce(cluster a1) 
            est store pbo3
        rdrobust d21d a1 if urban14==1, c(0) vce(cluster a1) 
            est store pbo4
        esttab pbo2 pbo3 pbo4 using $tables/2008_placebo_outcomes.tex, ///
            se star(* 0.10 ** 0.05 *** 0.01) label replace collabels(none) booktabs width(\linewidth) ///
            title("Placebo Outcomes (The 2008 Survey)") ///
            mtitles("Ideology"  "Workplace gender eq." "International news") ///
            varlabels("RD_Estimate" "Sent-down cohorts") ///
            cells(b(star fmt(a2)) se(par(( )) fmt(a2))) ///
            stats(h_l N_h_l N_h_r N, fmt(1 0 0) layout(@ `""@/@""' @) ///
            labels(`"Bandwidth"' `"Effective obs. left/right"' `"Observations"')) ///
            nonotes postfoot( \bottomrule \end{tabular*} \caption*{ ///
                    {\footnotesize Note: Standard errors in parentheses are clustered at the birth-year level. All RD estimations use: local linear regressions, triangular kernels, and MSE-optimal bandwidth on both sides of the cutoff. \sym{*} \(p<0.1\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\). ///
                    }} \end{table} \label{tab: 2008placebooutcomes} )
